package cn.zhangxin.pethome.system.pet.mapper;

import cn.zhangxin.pethome.system.pet.domain.Pet;
import cn.zhangxin.pethome.system.pet.domain.SearchMasterMsg;
import cn.zhangxin.pethome.base.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zx
 * @since 2023-02-08
 */
@Repository
public interface SearchMasterMsgMapper extends BaseMapper<SearchMasterMsg> {

    //通过用户id查询自己的宠物
    List<SearchMasterMsg> myCenter(Long id);
    //查询
    List<SearchMasterMsg> toSearchMasterPool();
}
